//
//  Data.h
//
//  Created by lianchuang  on 14-11-24
//  Copyright (c) 2014 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>



@interface SquareModelData : NSObject <NSCoding, NSCopying>
/**
 *  显示顺序
 */
@property (nonatomic, strong) NSString *displayorder;
/**
 *  标题
 */
@property (nonatomic, strong) NSString *subject;
/**
 *  主题分类
 */
@property (nonatomic, strong) NSString *typeid;
/**
 *  是否加精1：是0：否
 */
@property (nonatomic, strong) NSString *digest;
/**
 *  是否关闭回复1：是0：否
 */
@property (nonatomic, strong) NSString *closed;
/**
 *  作者姓名
 */
@property (nonatomic, strong) NSString *author;
/**
 *  最新回复
 */
@property (nonatomic, strong) NSString *lastpost;
/**
 *  作者id
 */
@property (nonatomic, strong) NSString *authorid;
/**
 *  是否高亮1：是0：否
 */
@property (nonatomic, strong) NSString *highlight;
/**
 *  图片
 */
@property (nonatomic, strong) NSArray *pic;
/**
 *  圈子id
 */
@property (nonatomic, strong) NSString *gid;
/**
 *  赞
 */
@property (nonatomic, strong) NSString *good;
/**
 *  简介
 */
@property (nonatomic, strong) NSString *summary;
/**
 *  发帖时间
 */
@property (nonatomic, strong) NSString *dateline;
/**
 *  回复数
 */
@property (nonatomic, strong) NSString *replies;
/**
 *  帖子id
 */
@property (nonatomic, strong) NSString *tid;
/**
 *  收藏数
 */
@property (nonatomic, assign) double collection;
/**
 *  预览数
 */
@property (nonatomic, strong) NSString *views;


+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- (instancetype)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionaryRepresentation;

@end
